package com.imstlife.vending.vo;

import java.io.Serializable;

/**
 * Created by lihaifeng on 16/10/27.
 */
public class DrinkInfo implements Serializable {


    /** 货到  */
    private int id;
    /** 商品名 */
    private String name;

    /** 文本介绍 */
    private String text;

    /** 小图地址 */
    private String minPicUrl;
    /** 大图地址 */
    private String maxPicUrl;

    /** 价格 */
    private double price;

    private double oldPrice;

    /** 订单号  */
    private String outTradeNo;

    /** 货到库存  */
    private int count;

    private String num;






    public DrinkInfo(int id, String name, String text, String minPicUrl, String maxPicUrl, double price, double oldPrice) {
        this.id = id;
        this.name = name;
        this.text = text;
        this.minPicUrl = minPicUrl;
        this.maxPicUrl = maxPicUrl;
        this.price = price;
        this.oldPrice = oldPrice;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getMinPicUrl() {
        return minPicUrl;
    }

    public void setMinPicUrl(String minPicUrl) {
        this.minPicUrl = minPicUrl;
    }

    public String getMaxPicUrl() {
        return maxPicUrl;
    }

    public void setMaxPicUrl(String maxPicUrl) {
        this.maxPicUrl = maxPicUrl;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(double oldPrice) {
        this.oldPrice = oldPrice;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "DrinkInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", text='" + text + '\'' +
                ", minPicUrl='" + minPicUrl + '\'' +
                ", maxPicUrl='" + maxPicUrl + '\'' +
                ", price=" + price +
                ", oldPrice=" + oldPrice +
                '}';
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}


